import request from '@/utils/request'

// 查询道路绿化管养导入明细列表
export function listGreeneryImportDetail(query) {
  return request({ method: 'get', params: query,url: '/standingbook/greeneryImportDetail/list'})
}

// 查询道路绿化管养导入明细详细
export function getGreeneryImportDetail(id) {
  return request({ url: '/standingbook/greeneryImportDetail/' + id, method: 'get'  })
}

// 新增道路绿化管养导入明细
export function addGreeneryImportDetail(data) {
  return request({url: '/standingbook/greeneryImportDetail',method: 'post',data: data})
}

// 修改道路绿化管养导入明细
export function updateGreeneryImportDetail(data) {
  return request({method: 'put',data: data,url: '/standingbook/greeneryImportDetail' })
}

// 删除道路绿化管养导入明细
export function delGreeneryImportDetail(id) {
  return request({  method: 'delete', url: '/standingbook/greeneryImportDetail/' + id  })
}
